package org.dromara.system.pojo.bo;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.*;
import org.dromara.common.web.core.domain.BaseBO;

import java.io.Serial;
import java.time.LocalDateTime;

/**
 * 代码生成业务表 BO。
 *
  * @author mkj
  * @since 2024-07-21
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
@EqualsAndHashCode(callSuper = true)
@Schema(description = "代码生成业务表")
public class GenTableBO extends  BaseBO {

    @Serial
    private static final long serialVersionUID = 1L;


    @Schema(description = "id")
    private Long tableId;

    @Schema(description = "数据源名称")
    private String dataName;

    @Schema(description = "表名称")
    private String tableName;

    @Schema(description = "表描述")
    private String tableComment;

    @Schema(description = "关联子表的表名")
    private String subTableName;

    @Schema(description = "子表关联的外键名")
    private String subTableFkName;

    @Schema(description = "实体类名称")
    private String className;

    @Schema(description = "使用的模板（crud单表操作 tree树表操作）")
    private String tplCategory;

    @Schema(description = "生成包路径")
    private String packageName;

    @Schema(description = "生成模块名")
    private String moduleName;

    @Schema(description = "生成业务名")
    private String businessName;

    @Schema(description = "生成功能名")
    private String functionName;

    @Schema(description = "生成功能作者")
    private String functionAuthor;

    @Schema(description = "生成代码方式（0zip压缩包 1自定义路径）")
    private String genType;

    @Schema(description = "生成路径（不填默认项目路径）")
    private String genPath;

    @Schema(description = "其它生成选项")
    private String options;

    @Schema(description = "备注")
    private String remark;
}
